package com.android.phoenix.models;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @ClassName: SportRecord
 * @Description: 运动记录类
 * @author: wanchao
 * @date: 2015-1-18 下午3:52:31
 */
@DatabaseTable(tableName = "sportRecord")
public class SportRecord {
	/** 以时间作为ID字段，如2015年1月12日12点30分45秒，表示为：20150112123045 */
	@DatabaseField(id = true)
	private String id;

	@DatabaseField
	private String date;

	@DatabaseField
	private String startTime;
	
	@DatabaseField
	private String endTime;

	@DatabaseField
	private String distance;

	@DatabaseField
	private String calorie;
	
	@DatabaseField
	private String minSpeed;
	
	@DatabaseField
	private String averageSpeed;
	
	@DatabaseField
	private String maxSpeed;
	
	@DatabaseField
	private String minAltitude;
	
	@DatabaseField
	private String averageAltitude;
	
	@DatabaseField
	private String maxAltitude;
	
	@DatabaseField
	private String minHeartRate;
	
	@DatabaseField
	private String averageHeartRate;
	
	public String getMinSpeed() {
		return minSpeed;
	}

	public void setMinSpeed(String minSpeed) {
		this.minSpeed = minSpeed;
	}

	public String getAverageSpeed() {
		return averageSpeed;
	}

	public void setAverageSpeed(String averageSpeed) {
		this.averageSpeed = averageSpeed;
	}

	public String getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(String maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public String getMinAltitude() {
		return minAltitude;
	}

	public void setMinAltitude(String minAltitude) {
		this.minAltitude = minAltitude;
	}

	public String getAverageAltitude() {
		return averageAltitude;
	}

	public void setAverageAltitude(String averageAltitude) {
		this.averageAltitude = averageAltitude;
	}

	public String getMaxAltitude() {
		return maxAltitude;
	}

	public void setMaxAltitude(String maxAltitude) {
		this.maxAltitude = maxAltitude;
	}

	public String getMinHeartRate() {
		return minHeartRate;
	}

	public void setMinHeartRate(String minHeartRate) {
		this.minHeartRate = minHeartRate;
	}

	public String getAverageHeartRate() {
		return averageHeartRate;
	}

	public void setAverageHeartRate(String averageHeartRate) {
		this.averageHeartRate = averageHeartRate;
	}

	public String getMaxHeartRate() {
		return maxHeartRate;
	}

	public void setMaxHeartRate(String maxHeartRate) {
		this.maxHeartRate = maxHeartRate;
	}

	@DatabaseField
	private String maxHeartRate;
	
	

	public SportRecord() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getCalorie() {
		return calorie;
	}

	public void setCalorie(String calorie) {
		this.calorie = calorie;
	}

}
